﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VsxFactory.Modeling.Repository;
using System.Diagnostics.CodeAnalysis;

namespace VsxFactory.Modeling.StrategyManager.Dialog
{
    public interface IPackageSourceProvider
    {
        PackageSource ActivePackageSource { get; set; }
        [SuppressMessage(
            "Microsoft.Design",
            "CA1024:UsePropertiesWhereAppropriate",
            Justification = "This method is potentially expensive.")]
        IEnumerable<PackageSource> GetPackageSources();
        void AddPackageSource(PackageSource source);
        bool RemovePackageSource(PackageSource source);
        void SetPackageSources(IEnumerable<PackageSource> sources);
    }
}
